import React from 'react'
import styles from "@/app/wechat/page.module.css"
import Image from 'next/image'

const PrimariyMessage = ({ userName }) => {
    return (
        <div className={styles.chatList}>
            <Image className={styles.pic} width={40} height={40} src={"/lidong_pic.jpg"} alt='' />
            <div className={styles.primariyMessage}>
                <p className={styles.listUserName}>{userName}</p>
                <p className={styles.listMessage}>这里是缩略信息...</p>

            </div>  
        </div>
    )
}

export default PrimariyMessage
